package lipengfei.botaiframework.mybatisplus.extend.injector;

import java.util.List;

import com.baomidou.mybatisplus.core.injector.AbstractMethod;
import com.baomidou.mybatisplus.core.injector.DefaultSqlInjector;
import com.baomidou.mybatisplus.core.metadata.TableInfo;

import lipengfei.botaiframework.mybatisplus.extend.method.FindCountMethod;
import lipengfei.botaiframework.mybatisplus.extend.method.FindOneMethod;


public class MyLogicSqlInjector extends DefaultSqlInjector {

	

    @Override
    public List<AbstractMethod> getMethodList(Class<?> mapperClass, TableInfo tableInfo) {
        List<AbstractMethod> methodList = super.getMethodList(mapperClass, tableInfo);
        methodList.add(new FindOneMethod());
        methodList.add(new FindCountMethod());
        return methodList;
    }
	
}
 
